package com.project.bean;

public class UserBean {
    /**用户id*/
    private int userId;
    /**用户名*/
    private String account;
    /**密码*/
    private String pwd = "111";
    /**等级*/
    private String grade;
    /**真实姓名*/
    private String name;

    public UserBean() {
    }

    public UserBean(String account, String pwd, String grade, String name) {
        this.account = account;
        this.pwd = pwd;
        this.grade = grade;
        this.name = name;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPwd() {
        return pwd;
    }

    @Override
    public String toString() {
        return "UserBean{" +
                "userId=" + userId +
                ", account='" + account + '\'' +
                ", pwd='" + pwd + '\'' +
                ", grade='" + grade + '\'' +
                ", name='" + name + '\'' +
                '}'+"\n";
    }
}
